home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 October: Mac OS SDK / Dev.CD Oct 00 SDK1.toast / Development Kits / Mac OS / Multiprocessing 2.1v2 SDK / Sample Code / MP Sort Picts 12⁄04⁄99 / CopyBlits Folder / CopyBlits.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-11-02  |  1.2 KB  |  50 lines  |  [TEXT/CWIE]

  1. #include <Multiprocessing.h>
  2.  
  3. // Prototypes
  4. void Set_ColorTable(CTabHandle pCTabHandle);
  5.  
  6. void CopyBlits    (    const PixMapHandle srcPixMapHdl,
  7.                     const PixMapHandle dstPixMapHdl,
  8.                     const Rect *srcRect,
  9.                     const Rect *dstRect,
  10.                     MPCriticalRegionID busy
  11. );
  12.  
  13. // 194 fps vs. 300 fps CopyBits
  14. void CopyBlits8    (    const PixMapHandle srcPixMapHdl,
  15.                     const PixMapHandle dstPixMapHdl,
  16.                     const Rect *srcRect,
  17.                     const Rect *dstRect
  18.                     
  19. );
  20.  
  21. // 354 fps vs. 300 fps CopyBits
  22. void CopyBlits8_8    (    const PixMapHandle srcPixMapHdl,
  23.                         const PixMapHandle dstPixMapHdl,
  24.                         const Rect *srcRect,
  25.                         const Rect *dstRect,
  26.                         MPCriticalRegionID busy
  27. );
  28.  
  29. // 50 fps vs. 42 fps CopyBits
  30. void CopyBlits8_16    (    const PixMapHandle srcPixMapHdl,
  31.                         const PixMapHandle dstPixMapHdl,
  32.                         const Rect *srcRect,
  33.                         const Rect *dstRect
  34. );
  35.  
  36. // 50 fps vs. 39 fps CopyBits
  37. void CopyBlits8_32    (    const PixMapHandle srcPixMapHdl,
  38.                         const PixMapHandle dstPixMapHdl,
  39.                         const Rect *srcRect,
  40.                         const Rect *dstRect,
  41.                         MPCriticalRegionID busy
  42. );
  43.  
  44. void CopyBlitsI    (    const PixMapHandle srcPixMapHdl,
  45.                     const PixMapHandle dstPixMapHdl,
  46.                     const Rect *srcRect,
  47.                     const Rect *dstRect,
  48.                     MPCriticalRegionID busy
  49. );
  50.